package kuangstudy;

/**
 * @author:李雄
 * @create:2022-07-05 11:56
 */
public class TestThread1 extends Thread{

    @Override
    public void run() {
        for (int i =0;i<100;i++){
            System.out.println("这是多线程的thread："+i);
        }
    }

    public static void main(String[] args) {
        TestThread1 test1 = new TestThread1();
        test1.start();

        for (int i =0;i<1000;i++){
            System.out.println("这是主线程的："+i);
        }
    }
}
